//
//  GhostComponentFactory.m
//  TengineTwo
//
//  Created by StandardUser on 10/02/2012.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "GhostComponentFactory.h"
#import "EntityViewComponent.h"
#import "EntityTypes.h"

@implementation GhostComponentFactory

+(id<Poolable>)create
{
    EntityViewComponent *vc = [[EntityViewComponent alloc] initWithFile:@"ghost.png"];
    NSAssert(vc, @"bullet image not found");
    [vc autorelease];
    
    vc.type = GHOST;
    
    return vc;
}

@end
